import request from "@/utils/request";

export function getList(params:object) {
  return request({
    url: '/getList',
    method: 'get',
    params
  })
}

export function addItem(params:object) {
  return request({
    url: '/add',
    method: 'get',
    params
  })
}

export function updateItem(params:object) {
  return request({
    url: '/update',
    method: 'get',
    params
  })
}

export function delItem(params:object) {
  return request({
    url: '/del',
    method: 'get',
    params
  })
}

export function getLogs(params:object) {
  return request({
    url: '/getLogList',
    method: 'get',
    params
  })
}